package cn.minsh.lims.eoms.modules.app.controller.res.app;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author Administrator
 */
@Data
@ApiModel("问题保修列表")
public class AppRepairListRes {
    @ApiModelProperty("记录id")
    private Long id;
    @ApiModelProperty("编号")
    private String code ;
    @ApiModelProperty("问题概要")
    private String summary;
    @ApiModelProperty("问题描述")
    private String description;
    @ApiModelProperty("问题级别：1一般2严重3非常严重")
    private Integer level;
    @ApiModelProperty("维修类型：1自主维修2委外维修")
    private Integer type;
    @ApiModelProperty("供应商id")
    private Long supplierId;
    @ApiModelProperty("经办人")
    private Long agentId;
    @ApiModelProperty("设备id")
    private Long equipmentId;
    @ApiModelProperty("维修工单状态：1未开始、2处理中、3已完成、4已关闭、5已拒绝")
    private Integer status;
    @ApiModelProperty("发起人/报修人")
    private Long createBy;
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date createTime;

}
